package com.wyg.ep_timer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 *
 * </p>
 *
 * @author WangYongGan
 * @since 2022-05-17
 */
@TableName("data_result")
@ApiModel(value = "DataResult对象", description = "")
public class DataResult implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String title;

    private String scheme;

    private String rawText;

    private String source;

    private Date createdAt;

    private String platform;

    private String entity;

    private String regEntity;

    private Integer isReg;

    private String articleId;

    private Date dealTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getScheme() {
        return scheme;
    }

    public void setScheme(String scheme) {
        this.scheme = scheme;
    }

    public String getRawText() {
        return rawText;
    }

    public void setRawText(String rawText) {
        this.rawText = rawText;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public String getEntity() {
        return entity;
    }

    public void setEntity(String entity) {
        this.entity = entity;
    }

    public String getRegEntity() {
        return regEntity;
    }

    public void setRegEntity(String regEntity) {
        this.regEntity = regEntity;
    }

    public Integer getIsReg() {
        return isReg;
    }

    public void setIsReg(Integer isReg) {
        this.isReg = isReg;
    }

    public String getArticleId() {
        return articleId;
    }

    public void setArticleId(String articleId) {
        this.articleId = articleId;
    }

    public Date getDealTime() {
        return dealTime;
    }

    public void setDealTime(Date dealTime) {
        this.dealTime = dealTime;
    }

    @Override
    public String toString() {
        return "DataResult{" +
                "id=" + id +
                ", title=" + title +
                ", scheme=" + scheme +
                ", rawText=" + rawText +
                ", source=" + source +
                ", createdAt=" + createdAt +
                ", platform=" + platform +
                ", entity=" + entity +
                ", regEntity=" + regEntity +
                ", isReg=" + isReg +
                ", articleId=" + articleId +
                ", dealTime=" + dealTime +
                "}";
    }
}
